export default {
    state: [
        {good: "苹果", price: 9999, count: 0},
        {good: "小米", price: 1999, count: 0},
        {good: "华为", price: 4999, count: 0},
    ],

    setStateCount() {
        this.state.map(c => {
            c.count = 0
        })
    }
}